<?php

namespace App\Http\Controllers\Admin\Demo;

use App\Services\Data\LottoService;
use Illuminate\Http\Request;

class DemoController
{

    private $LottoService;

    public function __construct(LottoService $LottoService)
    {
      $this->LottoService = $LottoService;
    }
    public function index(Request $request)
    {
        $arrLottoList = $this->LottoService->getNumberData($request->all());
      $arrLottoList = implode(' ',$arrLottoList);
        p($arrLottoList);exit;
    }

}
